﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;


namespace GPMS.DbTest
{
    public class MvcLinks
    {
        public void Showlinks()
        {
            Type[] types = Assembly.Load("MvcWebos").GetTypes();

            foreach (Type type in types)
            {
                if (type.Namespace == "MvcWebos.Controllers")
                {
                    Console.WriteLine(type.ToString());
                    foreach (MethodInfo method in type.GetMethods())
                    {
                        //if (method.ReturnType.Namespace == "System.Web.Mvc")
                        //{
                            
                        //    Console.WriteLine(method.ToString());
                        //}
                        Console.WriteLine(method.ToString());
                    }
                }
                
            }
        }
    }
}
